﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using KCL.Code.Data;

namespace KCL.Code.Business
{
    public class MakeServices
    {
        public static List<MadeIn> GetAllMakes()
        {
            return (new MadeInDAO()).GetAllMakes();
        }

        public static bool Insert(MadeIn m)
        {
            return (new MadeInDAO()).Insert(m);
        }

        public static bool Update(MadeIn m)
        {
            m.isActive = true;
            return (new MadeInDAO()).Update(m);
        }

        public static bool Delete(MadeIn m)
        {
            return (new MadeInDAO()).Delete(m);
        }
    }
}